//
//  jobListCell.swift
//  万才信息App
//
//  Created by 陌上互联  on 16/7/16.
//  Copyright © 2016年 万才信息. All rights reserved.
//

import UIKit

class resumeCell:UITableViewCell{
    
    var resume:listResume=listResume()
    
    @IBOutlet weak var tvResumeName: UILabel!
    @IBOutlet weak var pbComplete: UIProgressView!
    @IBOutlet weak var ivPravicy: UIImageView!
    
    
    func setResume(resume:listResume){
        self.resume=resume
        
        tvResumeName.text=resume.ResumeName
        pbComplete.progress=Float(resume.Resume1egrity)!/100
        
//        保密项目
        if(resume.Privacy == "2"){
            ivPravicy.image = UIImage(named: "ic_description_18pt")
        }else if(resume.Privacy == "1"){
            ivPravicy.image = UIImage(named: "ic_explore_18pt")
        }
    }
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
    }
}
